<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>科室列表</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
	font-size:12px;
}
img{
	border:0px;
	}
a{
	color:#333;
	text-decoration:none;
	}
dl{
	border:1px #90A2AE solid;
	padding:10px;
	margin:10px;
	background:#F0F3F5;
	}
dt{
	background:#8BA2B9;
	display:block;
	clear:both;
	border-top:1px #D1DAE3 solid;
	}
dd{
	margin-left:0px;
	display:block;
	clear:both;
	}
p{
	margin:10px;
	font-size:14px;
	font-weight:bold;
	background:url(<?php echo $baseurl ?>images/admin_image/icon_top.jpg) left center no-repeat;
	padding-left:18px;
	}
span{

	display:block;
	height:18px;}
td{
	height:22px;
	line-height:22x;
	}
.tyes{background-color:#E3E8ED;}
.tno{background-color:#F5F7FA;}
#pagelist{float:right;padding-right:20px;}
#pagelist ul li { float:left;border:1px solid #8BA2B9; height:20px; line-height:20px; margin:0px 2px; list-style:none;}
#pagelist ul li a{background:#F0F3F5; display:block; padding:0px 6px;}
.current { background:#8BA2B9; display:block; padding:0px 6px; font-weight:bold;color:#FFF;}
-->
</style>
<SCRIPT LANGUAGE="JavaScript"> 
<!-- 
function del(url) 
{ 
if(confirm("您确定要删除此讲座信息吗？删除后将不可恢复！")){
self.location = url;
}else{
return false;;
}
} 
//--> 
</SCRIPT>
</head>

<body>
<p>讲座信息列表（共有<?php echo $num; ?>个讲座信息）</p>
<dl><dt><table width="100%" border="0" style="color:#FFF;font-weight:bold;height:30px;">
    <tr>
      <td width="5%" style="padding-left:10px;">DBID</td>
      <td width="15%" style="padding-left:10px;">讲座标题</td>
      <td width="10%" style="padding-left:10px;">讲座时间</td>
      <td width="15%" style="padding-left:10px;">讲座地点</td>
      <td width="12%" style="text-align:center">发布时间</td>
      <td width="20%" style="text-align:center">操作选项</td>
    </tr>
  </table></dt>
<dd>
  <table width="100%" border="0" cellspacing="1" bgcolor="#D1DAE3" style="height:30px;">
  <?php
  foreach($lecture as $r){ ?>
    <tr class="tno" onmouseover="this.className='tyes'" onmouseout="this.className='tno'">
      <td width="5%" style="padding-left:10px;"><?php echo $r['Id']; ?></td>
      <td width="15%" style="padding-left:10px;overflow:hidden;"><?php echo $r['lec_title']; ?></td>
      <td width="10%" style="padding-left:10px;"><?php echo $r['lec_time']; ?></td>
      <td width="15%" style="padding-left:10px;overflow:hidden;"><?php echo $r['lec_address']; ?>
      </td>
      <td width="12%" style="text-align:center"><?php echo date('m月d日 H:s',$r['puttime']); ?></td>
      <td width="20%" style="text-align:center"><a href="<?php echo $baseurl ?>manage/article/edit_lecture/<?php echo $r['Id']; ?>"><img src="<?php echo $baseurl ?>images/admin_image/edit.gif" alt="编辑" /></a>&nbsp;
      <a href="#" onClick="return del('<?php echo $baseurl ?>manage/article/do_del_lecture/<?php echo $r['Id'] ?>');"><img src="<?php echo $baseurl ?>images/admin_image/del.gif" alt="删除" /></a></td>
    </tr>
    <?php }?>
  </table>
</dd>
</dl>
<dl>
    <dd style="border:0px;">提示：首页只显示最新发布的讲座信息。</dd>
</dl>
<div id="pagelist">
  <ul>
<?php echo $this->pagination->create_links();?>
</ul>
</div>
</body>
</html>
